package com.appspot.didit.client.user;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface UserServiceAsync {
	void authenticate(String username, String password, AsyncCallback<User> callback);
	void newUser(String username, String password, AsyncCallback<User> callback);
	void isAvailable(String username, AsyncCallback<Boolean> callback);
	void getUser(AsyncCallback<User> callback);
	void logout(AsyncCallback callback);
	void generate(AsyncCallback callback);
	void init(AsyncCallback callback);
}

